package com.homer.android.sdk.command.uart;

import java.net.InetAddress;

import com.homer.android.sdk.command.IEspCommandLocal;
import com.homer.android.sdk.command.IEspCommandUart;
import com.homer.android.sdk.devcie.status.IEspStatusUart;

public interface IEspCommandUartGetStatusLocal extends IEspCommandLocal, IEspCommandUart
{
    /**
     * @deprecated Use {@link #doCommandUartGetStatusLocal(InetAddress, String, String)} instead of it,
     * and the deviceBssid=null when you call the method
     * 
     * get the statusUart to the Uart by Local
     * @param inetAddress the Uart's ip address
     * @return the status of the Uart or null(if executed fail)
     */
    IEspStatusUart doCommandUartGetStatusLocal(InetAddress inetAddress);
    
    /**
     * get the statusUart to the Uart by Local
     * 
     * @param inetAddress the Uart's ip address
     * @param deviceBssid the Uart's bssid
    
     * @return the status of the Uart or null(if executed fail)
     */
    IEspStatusUart doCommandUartGetStatusLocal(InetAddress inetAddress, String deviceBssid);

}
